Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Restrict Shortcut and WinHelp Commands (Windows NT/2000/XP)
Category: Home > Security > System

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This restriction can be used to specify which directories contain Help files that can use the Shortcut and WinHelp commands. By clearing this setting you can also completely disable the help commands on the system.

Open your registry and find the key below.

Create a new Expanded String value, or modify the existing value called 'HelpQualifiedRootDir' using the settings below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Note: With features in HTML Help, you can run executable programs from a help (.chm) file. The Shortcut command is used to run an executable program that is external to the Help file. The WinHelp command is used to run Winhlp32.exe to display a Winhelp (.hlp) file. This article describes how to restrict the Help files that are allowed to use the Shortcut and WinHelp commands.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|HelpQualifiedRootDirREG_EXPAND_SZ%windir%\help;%windir%\pchealth\helpctr;%program files%|
-
|HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
Name: HelpQualifiedRootDir
Type: REG_EXPAND_SZ (Expanded String Value)
Value: Allowed Help File Directories (semi-colon delimiter)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: December 9, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License